package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "超级群聊资费标准")
@Builder
@TableName("tz_melt_cloud_ultra_group_cost")
public class MeltCloudUltraGroupCost {


    @Schema(description = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @NotNull(message = "月数不能为空！")
    @Schema(description = "月数")
    private Integer months;

    @NotNull(message = "消耗能量值不能为空！")
    @Schema(description = "消耗能量值")
    private Integer energyValue;

    @Schema(description = "是否连续包月 0：否  1：是")
    private Integer isRenew;

    @Schema(description = "连续包月消耗能量值")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer renewValue;

    @Schema(description = "是否显示 0：正常 1：隐藏")
    private Integer isHide;

    @Schema(description = "用户状态 0：正常 1：删除")
    private Integer isDel;

    @Schema(description = "备注")
    private String remark;
    
    private Date createTime;
    
    
}
